package publicPackage.human;

/**
 * Created by Heart!
 *
 * @Author ZhangChaoJian
 * @Date 2018/3/19.12:19
 * Wants More Then Try Hard More!
 */

import publicPackage.item.Items;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 人物数据
 */
public class HumanData implements Serializable {
    private int location;//在人物选择界面的位置
    private Long mainRoleID;//主角ID
    private String name;//姓名
    private int sex;//性别
    private int job;//职业
    private int level;//等级
    private int flyLevel;//飞升等级
    private Map<Integer, Items> wearingMap = new HashMap<>();//穿戴信息
    private Map<Long, Hero> heroMap = new HashMap();//英雄信息
    private Bag humanBag = new Bag();//玩家背包
    private HumanState humanState = new HumanState();//玩家属性
    private int mapID;//玩家所在地图
    private boolean safetyPlace;//安全区域
    private int maxEXP;//当前等级的最大经验
    private int currentEXP;//当前积累经验量
    private int bagMaxSize;//玩家背包的最大格子数
    private int vipLevel;//玩家的VIP等级

    public boolean isSaftyPlace() {
        return safetyPlace;
    }

    public void setSaftyPlace(boolean saftyPlace) {
        this.safetyPlace = saftyPlace;
    }

    public int getMapID() {
        return mapID;
    }

    public void setMapID(int mapID) {
        this.mapID = mapID;
    }

    public int getMaxEXP() {
        return maxEXP;
    }

    public void setMaxEXP(int maxEXP) {
        this.maxEXP = maxEXP;
    }

    public int getCurrentEXP() {
        return currentEXP;
    }

    public void setCurrentEXP(int currentEXP) {
        this.currentEXP = currentEXP;
    }

    public int getBagMaxSize() {
        return bagMaxSize;
    }

    public void setBagMaxSize(int bagMaxSize) {
        this.bagMaxSize = bagMaxSize;
    }

    public int getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(int vipLevel) {
        this.vipLevel = vipLevel;
    }

    public HumanState getHumanState() {
        return humanState;
    }

    public void setHumanState(HumanState humanState) {
        this.humanState = humanState;
    }

    public Bag getHumanBag() {
        return humanBag;
    }

    public void setHumanBag(Bag humanBag) {
        this.humanBag = humanBag;
    }

    public int getLocation() {
        return location;
    }

    public void setLocation(int location) {
        this.location = location;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getMainRoleID() {
        return mainRoleID;
    }

    public void setMainRoleID(Long mainRoleID) {
        this.mainRoleID = mainRoleID;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public int getJob() {
        return job;
    }

    public void setJob(int job) {
        this.job = job;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getFlyLevel() {
        return flyLevel;
    }

    public void setFlyLevel(int flyLevel) {
        this.flyLevel = flyLevel;
    }

    public Map<Integer, Items> getWearingMap() {
        return wearingMap;
    }

    public void setWearingMap(Map<Integer, Items> wearingMap) {
        this.wearingMap = wearingMap;
    }

    public Map<Long, Hero> getHeroMap() {
        return heroMap;
    }

    public void setHeroMap(Map<Long, Hero> heroMap) {
        this.heroMap = heroMap;
    }
}
